package edu.scause.gs.service;

import java.text.ParseException;
import java.util.List;

import edu.scause.gs.model.Client;
import edu.scause.gs.model.GoodsInfo;
import edu.scause.gs.model.Msg;
import edu.scause.gs.model.Orders;

public interface ClientService {
	
	public boolean ClientRegister(Client client);

	public boolean ClientsLogin(String clientid, String clientpassword);
	
	public List<GoodsInfo> RcentRecommend(String clientid) throws ParseException;
	
	public List<GoodsInfo> ScoreRecommend();
	
	public List<GoodsInfo> AllofGoods();
	
	public boolean ClientsOrders(Orders orders, String bought_goodId, String bought_clientId);
	
	public List<Orders> ClientOrderedList(String clientid);
	
	public boolean CancelOrder(Orders orders);
	
	public boolean ClientGrade4Goods(Orders orders);
	
	public List<Msg> GetCancelMSG(String clientid);
	
}
